@import "base.scss";

/*
    此文件用于写通用样式
 */

// 响应适配
:root {
  font-size: 12px;
}


/* 1920适配 */

@media only screen and (min-width: 1920px) {
  :root {
    font-size: 14px;
  }
}

html,
body,
#app {
  height: 100%;
  width: 100%;
  font-family: "Microsoft YaHei", "微软雅黑";
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.clearfix:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0
}

.clearfix {
  zoom: 1
}

// 页面样式类
.d-view {
  height: 100%;
  width: 100%;
  background: url(../image/largeScreen_bj.png) no-repeat;
  background-size: cover;
}

#dialogBox .el-dialog {
  width: 995px;
}

#dialogBox .el-dialog__title {
  border-bottom: 1px solid #e4e4e4;
  width: 100%;
  display: block;
  padding-bottom: 10px;
}

#dialogBox .el-dialog__body {
  padding: 10px 20px;
  max-height: 500px;
  overflow-y: auto;
}

#dialogBox .el-button--text {
  color: #00a9e2;
  font-size: 20px;
  text-decoration: underline
}

#dialogBox .el-dialog__footer {
  padding: 5px 20px 5px;
  border-top: 1px solid #e4e4e4;
}

#dialogBox .inputDiv {
  width: 207px;
}

#dialogBox .inputDiv .el-input__inner {
  width: 100%;
  background: #ededed;
}

.ml10 {
  margin-left: 10px;
}

.ml40 {
  margin-left: 40px;
}

.mb10 {
  margin-top: 10px;
}

.edit-video-upload {
  width: 200px;
  height: 200px;
  border: 1px dashed $color-alpha-white-80;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: $spacing-base;

  i {
    font-size: 3rem;
    color: $color-alpha-white-80;
  }

  &:hover {
    border: 1px dashed $color-alpha-white-64;

    i {
      font-size: 3rem;
      color: $color-alpha-white-64;
    }
  }
}


.el-upload--picture-card i {
  font-size: 18px;
}

.el-upload-list--picture-card .el-upload-list__item {
  width: 50px;
  height: 36px;
  float: left;
}

// 隐藏上传组件
.el-upload--picture-card {
  width: 50px;
  height: 36px;
  line-height: 36px;
  float: left;
  margin-right: 10px;
}

.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

$pop-color: rgb(67, 67, 70);
.close-popover {
  background: $pop-color;
  border-color: $pop-color;
  padding: 6px;

  .btn {
    color: white;
    padding: 6px;
    cursor: pointer;
    border-radius: 4px;

    &:hover {
      background: rgba(91, 91, 91, 0.9);
    }
  }

  .popper__arrow {
    border-bottom-color: $pop-color !important;

    &:after {
      border-bottom-color: $pop-color !important;
    }


  }
}
